#-coding:UTF8-*-
import requests
import json
from public.http import POST
from public import config,verification
from public import sms


url=config.domain+'/ja/v1/user/regist'
header=config.header
global phone
phone=15515518885

def re1():#注册
    data={"name":phone,"password":"qwer1234","code":c}
    r = requests.post(url,data=json.dumps(data),headers=header)
    m=r.json()['code']
    return m

if __name__ == '__main__':
    
    verification(re1(),"中文",0)